package com.szrt.java.lh.day1222.Princties;

public class princtiesdemo1 {
	public static void main(String[] args) {
		String name[]={"刘浩","钟鹏"};
		int score[]={100,101};
		char sex[]={'男','女'};
		int age[]={18,18};
		//打印虚线
		System.out.println("----------------------------------");
		//表头
		System.out.println("姓名"+"\t"+"分数"+"\t"+"性别"+"\t"+"年龄" +"\t");
		//内容
		for(int i=0;i<2;i++){
		System.out.println(name[i]+"\t"+score[i]+"\t"+sex[i]+"\t"+age[i]+"\t");
		}
		System.out.println("----------------------------------");
				
	}

}
